/**
 * Project Name:mbr-ws-pt-api
 * File Name:OperatorLoginResp.java
 * Package Name:com.aeye.mbr.ws.api.pt
 * Date:2015年10月29日下午1:09:33
 * Copyright (c) 2015, shengpeng@a-eye.cn All Rights Reserved.
 *
 */

package com.aeye.mbr.ws.api.pt;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.aeye.mbr.upms.dto.ExtraInfo;
import com.aeye.mbr.upms.dto.Operator;

/**
 * ClassName:OperatorLoginResp <br/>
 * Function: 操作员登录返回值<br/>
 * Date: 2015年10月29日 下午1:09:33 <br/>
 * 
 * @author shengpeng
 * @version
 * @since JDK 1.6
 * @see
 */
public class OperatorLoginResp implements Serializable{
	private String sessionId;
	private Long lastLoginTime;	
	private Operator operator;
	private List<SysInfo> sysList;
	private String parameterVersion; 
	
	public String getParameterVersion() {
		return parameterVersion;
	}

	public void setParameterVersion(String parameterVersion) {
		this.parameterVersion = parameterVersion;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public Long getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public List<SysInfo> getSysList() {
		return sysList;
	}

	public void setSysList(List<SysInfo> sysList) {
		this.sysList = sysList;
	}

	public Operator getOperator() {
		return operator;
	}

	public void setOperator(Operator operator) {
		this.operator = operator;
	}

	public static class SysInfo {
		private int sysCode;
		private String sysName;
		private List<Privileges> privileges;
		private List<ExtraInfo> extraInfos;

		public int getSysCode() {
			return sysCode;
		}

		public void setSysCode(int sysCode) {
			this.sysCode = sysCode;
		}

		public String getSysName() {
			return sysName;
		}

		public void setSysName(String sysName) {
			this.sysName = sysName;
		}

		public List<Privileges> getPrivileges() {
			return privileges;
		}

		public void setPrivileges(List<Privileges> privileges) {
			this.privileges = privileges;
		}

		public List<ExtraInfo> getExtraInfos() {
			return extraInfos;
		}

		public void setExtraInfos(List<ExtraInfo> extraInfos) {
			this.extraInfos = extraInfos;
		}

	}

	public static class Privileges {
		private String priPCode;
		private String priCode;
		private String priDesc;
		private Integer sort;
		private List<Privileges> childList = new ArrayList<Privileges>();

		public String getPriPCode() {
			return priPCode;
		}

		public void setPriPCode(String priPCode) {
			this.priPCode = priPCode;
		}

		public String getPriCode() {
			return priCode;
		}

		public void setPriCode(String priCode) {
			this.priCode = priCode;
		}

		public String getPriDesc() {
			return priDesc;
		}

		public void setPriDesc(String priDesc) {
			this.priDesc = priDesc;
		}

		public Integer getSort() {
			return sort;
		}

		public void setSort(Integer sort) {
			this.sort = sort;
		}

		public List<Privileges> getChildList() {
			return childList;
		}

		public void setChildList(List<Privileges> childList) {
			this.childList = childList;
		}

	}
}
